//资产管理
import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  // 查询资产委外数据列表manReport/assetManagePlanInfoAdd
  assetManagePlanInfo: (query) => api.post(`${config.interfaces.type5}instrument-server/regulationInfo/assetManagePlanInfo`, query),
  // 资产委外根据证券代码进行回填数据
  assetManagePlanInfoDetail: (query) => api.get(`${config.interfaces.type5}instrument-server/regulationInfo/assetManagePlanInfoDetail`, query),
  //新增/编辑 资产委外数据
  assetManagePlanInfoAdd: (query) => api.post(`${config.interfaces.type5}instrument-server/regulationInfo/assetManagePlanInfoAdd`, query),
  //资产委外批量确认
  assetManagePlanInfoConfirm: (query) => api.post(`${config.interfaces.type5}instrument-server/regulationInfo/assetManagePlanInfoConfirm`, query),
  //资产委外转非标
  assetManagePlanInfoTranslate: (query) => api.post(`${config.interfaces.type5}instrument-server/regulationInfo/assetManagePlanInfoTranslate`, query),
};
